package com.candy.bean;

import java.util.Date;

public class Employees {
    private Integer employeeId;

    private String name;

    private String gender;

    private Integer deptId;

    private Date joinTime;

    private Long salary;

    private String address;

    private String image;

    private String description;

    public Employees(Integer employeeId, String name, String gender, Integer deptId, Date joinTime, Long salary, String address, String image, String description) {
        this.employeeId = employeeId;
        this.name = name;
        this.gender = gender;
        this.deptId = deptId;
        this.joinTime = joinTime;
        this.salary = salary;
        this.address = address;
        this.image = image;
        this.description = description;
    }

    public Employees() {
        super();
    }

    public Integer getEmployeeId() {
        return employeeId;
    }

    public void setEmployeeId(Integer employeeId) {
        this.employeeId = employeeId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender == null ? null : gender.trim();
    }

    public Integer getDeptId() {
        return deptId;
    }

    public void setDeptId(Integer deptId) {
        this.deptId = deptId;
    }

    public Date getJoinTime() {
        return joinTime;
    }

    public void setJoinTime(Date joinTime) {
        this.joinTime = joinTime;
    }

    public Long getSalary() {
        return salary;
    }

    public void setSalary(Long salary) {
        this.salary = salary;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address == null ? null : address.trim();
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image == null ? null : image.trim();
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }
}